##### Vientiane Major Events#####
#	By Tom Rinschler        #
#   	     Hvard             #
#	     Crook              #
#################################

#The Move to Vientiane#
event = {
	id = 3902
	random = no
	country = VIE
	trigger = { owned = { province = 1551 data = -1 }
	}
	name = "EVENTNAME3902"
	desc = "EVENTHIST3902"
	style = 2
	date = { day = 1 month = january year = 1563 }
	offset = 300
	deathdate = { day = 1 month = january year = 1564 }
	
	action_a ={#Move the capital#
		name = "ACTIONNAME3902A"
		command = { type = capital which = 1551 }
		command = { type = domestic which = centralization value = 1 } 
		command = { type = stability value = -2 }
		command = { type = provincetax which = 1551 value = 1 }
		command = { type = population which = 1551 value = 2000 }
	}
	action_b ={#Stay in Luangphrebang#
		name = "ACTIONNAME3902B"
		command = { type = stability value = 1 }
		command = { type = domestic which = centralization value = -1 }
	}
}

#The Succession Crisis#
event = {
	id = 3903
	trigger = {
		NOT = { exists = LUA }
		owned = { province = 1552 data = -1 }
	}
	random = no
	country = VIE
	name = "EVENTNAME3903"
	desc = "EVENTHIST3903"
	style = 4
	
	date = { day = 1 month = january year = 1706 }
	offset = 150
	deathdate = { day = 1 month = january year = 1820 }
	
	action_a = {  
		name = "ACTIONNAME3903A"
		command = { type = stability value = -3 }
		command = { type = domestic which = centralization value = -2 }
		command = { type = independence which = LUA }
		command = { type = trigger which = 65110 }
		command = { type = relation which = DAI value = 50 }
	}
	action_b ={        #Support the rightful heir#
		name = "ACTIONNAME3903B"
		command = { type = stability value = -5 }
		command = { type = country which = LUA }
		command = { type = capital which = 1552 }
		command = { type = revolt which = 1551 }
		command = { type = revoltrisk which = 24 value = 4 }
		command = { type = domestic which = centralization value = 1 }
		command = { type = trigger which = 65111 }
	}
}

#Luang Prabang Setup#
event = {
	id = 65110
	random = no
	country = LUA
	name = "EVENTNAME65110"
	desc = "EVENTHIST65110"
	style = 3 

	action_a ={
		name = "ACTIONNAME65110A"
		command = { type = inf which = -1 value = 10000 }
		command = { type = cav which = -3 value = 5000 }
		command = { type = domestic which = centralization value = 1 } 
		command = { type = addcore which = 1551 }
		command = { type = addcore which = 669 }
		command = { type = breakvassal which = VIE }
	}
}

#The rule of Suriyawongsa#
event = {
	id = 65112
	random = no
	country = VIE
	name = "EVENTNAME65112"
	desc = "EVENTHIST65112"
	style = 3
	
	date = { day = 1 month = january year = 1643 }
	offset = 4000
	deathdate = { day = 1 month = january year = 1690 }
	
	action_a = {  
		name = "ACTIONNAME65112A"
		command = { type = stability value = 2 }
		command = { type = domestic which = centralization value = 2 }
		command = { type = relation which = AYU value = 100 }
		command = { type = infra value = 600 }
		command = { type = gainbuilding which = -1 value = courthouse }
		command = { type = trade value = 200 }
		command = { type = provincetax which = -1 value = 1 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Economic Recovery#
event = {
	id = 65113
	random = no
	country = VIE
	name = "EVENTNAME65113"
	desc = "EVENTHIST65113"
	style = 1
	
	date = { day = 1 month = january year = 1480 }
	offset = 3000
	deathdate = { day = 1 month = january year = 1495 }
	
	action_a = {  
		name = "ACTIONNAME65113A"
		command = { type = stability value = 2 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = relation which = AYU value = 100 }
		command = { type = relation which = TAU value = -100 }
		command = { type = relation which = MYA value = -100 }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = provincetax which = -1 value = 1 }
	}
}

#Queen Nang Keo Phimpha#
event = {
	id = 65114
	random = no
	country = VIE
	name = "EVENTNAME65114"
	desc = "EVENTHIST65114"
	style = 1
	
	date = { day = 1 month = january year = 1428 }
	offset = 30
	deathdate = { day = 1 month = january year = 1438 }
	
	action_a = {  
		name = "ACTIONNAME65114A"
		command = { type = stability value = -4 }
		command = { type = domestic which = centralization value = -3 }
		command = { type = domestic which = offensive value = -2 }
		command = { type = revoltrisk which = 96 value = 5 }
		command = { type = infra value = -500 }
		command = { type = trade value = -500 }
	}
}

#Prince Ekaracha#
event = {
	id = 65115
	random = no
	country = VIE
	name = "EVENTNAME65115"
	desc = "EVENTHIST65115"
	style = 2
	
	date = { day = 1 month = january year = 1536 }
	offset = 120
	deathdate = { day = 1 month = january year = 1538 }
	
	action_a = {  
		name = "ACTIONNAME65115A"
		command = { type = stability value = -1 }
		command = { type = relation which = AYU value = -100 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = trigger which = 65116 }
	}
	action_b = {  
		name = "ACTIONNAME65115B"
		command = { type = stability value = 1 }
		command = { type = relation which = AYU value = 50 }
	}
}

#Burmese Aggression#
event = {
	id = 65117
	random = no
	country = VIE
	trigger = { OR = { exists = TAU 
			   exists = MYA } 
				exists = AYU 
				exists = DAI }
	name = "EVENTNAME65117"
	desc = "EVENTHIST65117"
	style = 2
	date = { day = 1 month = january year = 1560 }
	offset = 60
	deathdate = { day = 1 month = january year = 1565 }

	action_a = {  
		name = "ACTIONNAME65117A"
		command = { type = stability value = 1 }
		command = { type = alliance which = AYU }
		command = { type = relation which = AYU value = 50 }
		command = { type = relation which = MYA value = -100 }
		command = { type = relation which = TAU value = -100 }
	}
	action_b = {  
		name = "ACTIONNAME65117B"
		command = { type = stability value = -1 }
		command = { type = alliance which = DAI }
		command = { type = relation which = DAI value = 50 }
		command = { type = relation which = MYA value = -100 }
		command = { type = relation which = TAU value = -100 }
	}
}

